.class public Lcom/wqmobile/sdk/pojoxml/core/PojoXmlFactory;
.super Ljava/lang/Object;


# static fields
.field private static instance:Lcom/wqmobile/sdk/pojoxml/core/PojoXmlFactory;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    const/4 v0, 0x0

    sput-object v0, Lcom/wqmobile/sdk/pojoxml/core/PojoXmlFactory;->instance:Lcom/wqmobile/sdk/pojoxml/core/PojoXmlFactory;

    return-void
.end method

.method public constructor <init>()V
    .locals 0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method public static declared-synchronized getInstance()Lcom/wqmobile/sdk/pojoxml/core/PojoXmlFactory;
    .locals 2

    const-class v0, Lcom/wqmobile/sdk/pojoxml/core/PojoXmlFactory;

    monitor-enter v0

    :try_start_0
    sget-object v1, Lcom/wqmobile/sdk/pojoxml/core/PojoXmlFactory;->instance:Lcom/wqmobile/sdk/pojoxml/core/PojoXmlFactory;

    if-nez v1, :cond_0

    new-instance v1, Lcom/wqmobile/sdk/pojoxml/core/PojoXmlFactory;

    invoke-direct {v1}, Lcom/wqmobile/sdk/pojoxml/core/PojoXmlFactory;-><init>()V

    sput-object v1, Lcom/wqmobile/sdk/pojoxml/core/PojoXmlFactory;->instance:Lcom/wqmobile/sdk/pojoxml/core/PojoXmlFactory;

    :cond_0
    sget-object v1, Lcom/wqmobile/sdk/pojoxml/core/PojoXmlFactory;->instance:Lcom/wqmobile/sdk/pojoxml/core/PojoXmlFactory;
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    monitor-exit v0

    return-object v1

    :catchall_0
    move-exception v1

    monitor-exit v0

    throw v1
.end method


# virtual methods
.method public CreateAdvertisementProperties()Lcom/wqmobile/sdk/pojoxml/core/PojoXml;
    .locals 4

    new-instance v0, Lcom/wqmobile/sdk/pojoxml/core/a;

    invoke-direct {v0}, Lcom/wqmobile/sdk/pojoxml/core/a;-><init>()V

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/wqmobile/sdk/pojoxml/core/a;->enableCDATA(Z)V

    const-class v1, Lcom/wqmobile/sdk/model/AdvertisementFile;

    const-string v2, "File"

    invoke-virtual {v0, v1, v2}, Lcom/wqmobile/sdk/pojoxml/core/a;->addClassAlias(Ljava/lang/Class;Ljava/lang/String;)V

    const-class v1, Lcom/wqmobile/sdk/model/actiontype/MailContent;

    const-string v2, "content"

    invoke-virtual {v0, v1, v2}, Lcom/wqmobile/sdk/pojoxml/core/a;->addClassAlias(Ljava/lang/Class;Ljava/lang/String;)V

    const-string v1, "File"

    const-class v2, Lcom/wqmobile/sdk/model/AdvertisementFile;

    invoke-virtual {v0, v1, v2}, Lcom/wqmobile/sdk/pojoxml/core/a;->addCollectionClass(Ljava/lang/String;Ljava/lang/Class;)V

    const-class v1, Lcom/wqmobile/sdk/model/AdvertisementFile;

    const-string v2, "File"

    const-string v3, "File"

    invoke-virtual {v0, v1, v2, v3}, Lcom/wqmobile/sdk/pojoxml/core/a;->addFieldAlias(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)V

    const-class v1, Lcom/wqmobile/sdk/model/actiontype/ClickToMail;

    const-string v2, "Target"

    const-string v3, "target"

    invoke-virtual {v0, v1, v2, v3}, Lcom/wqmobile/sdk/pojoxml/core/a;->addFieldAlias(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)V

    const-class v1, Lcom/wqmobile/sdk/model/actiontype/ClickToMail;

    const-string v2, "content"

    const-string v3, "content"

    invoke-virtual {v0, v1, v2, v3}, Lcom/wqmobile/sdk/pojoxml/core/a;->addFieldAlias(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)V

    const-class v1, Lcom/wqmobile/sdk/model/actiontype/ClickToSMS;

    const-string v2, "Content"

    const-string v3, "content"

    invoke-virtual {v0, v1, v2, v3}, Lcom/wqmobile/sdk/pojoxml/core/a;->addFieldAlias(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)V

    const-class v1, Lcom/wqmobile/sdk/model/actiontype/MailContent;

    const-string v2, "Title"

    const-string v3, "title"

    invoke-virtual {v0, v1, v2, v3}, Lcom/wqmobile/sdk/pojoxml/core/a;->addFieldAlias(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)V

    const-class v1, Lcom/wqmobile/sdk/model/actiontype/MailContent;

    const-string v2, "Body"

    const-string v3, "body"

    invoke-virtual {v0, v1, v2, v3}, Lcom/wqmobile/sdk/pojoxml/core/a;->addFieldAlias(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)V

    const-class v1, Lcom/wqmobile/sdk/model/actiontype/ClickToMedia;

    const-string v2, "Target"

    const-string v3, "target"

    invoke-virtual {v0, v1, v2, v3}, Lcom/wqmobile/sdk/pojoxml/core/a;->addFieldAlias(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)V

    const-class v1, Lcom/wqmobile/sdk/model/actiontype/DownloadAndroid;

    const-string v2, "Target"

    const-string v3, "target"

    invoke-virtual {v0, v1, v2, v3}, Lcom/wqmobile/sdk/pojoxml/core/a;->addFieldAlias(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)V

    return-object v0
.end method

.method public CreateCacheOfflineAds()Lcom/wqmobile/sdk/pojoxml/core/PojoXml;
    .locals 3

    invoke-virtual {p0}, Lcom/wqmobile/sdk/pojoxml/core/PojoXmlFactory;->CreateAdvertisementProperties()Lcom/wqmobile/sdk/pojoxml/core/PojoXml;

    move-result-object v0

    const-string v1, "AdvertisementProperties"

    const-class v2, Lcom/wqmobile/sdk/model/AdvertisementProperties;

    invoke-interface {v0, v1, v2}, Lcom/wqmobile/sdk/pojoxml/core/PojoXml;->addCollectionClass(Ljava/lang/String;Ljava/lang/Class;)V

    return-object v0
.end method

.method public CreateDynamicClientProfile()Lcom/wqmobile/sdk/pojoxml/core/PojoXml;
    .locals 4

    new-instance v0, Lcom/wqmobile/sdk/pojoxml/core/a;

    invoke-direct {v0}, Lcom/wqmobile/sdk/pojoxml/core/a;-><init>()V

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/wqmobile/sdk/pojoxml/core/a;->enableCDATA(Z)V

    const-class v1, Lcom/wqmobile/sdk/model/DynClientProfile;

    const-string v2, "ClientProfile"

    invoke-virtual {v0, v1, v2}, Lcom/wqmobile/sdk/pojoxml/core/a;->addClassAlias(Ljava/lang/Class;Ljava/lang/String;)V

    const-class v1, Lcom/wqmobile/sdk/model/DynClientProfile;

    const-string v2, "ClientProfile"

    const-string v3, "ClientProfile"

    invoke-virtual {v0, v1, v2, v3}, Lcom/wqmobile/sdk/pojoxml/core/a;->addFieldAlias(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)V

    return-object v0
.end method

.method public createPojoXml()Lcom/wqmobile/sdk/pojoxml/core/PojoXml;
    .locals 1

    const/4 v0, 0x0

    invoke-virtual {p0, v0}, Lcom/wqmobile/sdk/pojoxml/core/PojoXmlFactory;->createPojoXml(Z)Lcom/wqmobile/sdk/pojoxml/core/PojoXml;

    move-result-object v0

    return-object v0
.end method

.method public createPojoXml(Z)Lcom/wqmobile/sdk/pojoxml/core/PojoXml;
    .locals 1

    new-instance v0, Lcom/wqmobile/sdk/pojoxml/core/a;

    invoke-direct {v0}, Lcom/wqmobile/sdk/pojoxml/core/a;-><init>()V

    invoke-virtual {v0, p1}, Lcom/wqmobile/sdk/pojoxml/core/a;->enableCDATA(Z)V

    return-object v0
.end method
